java print variable type

81

java print variable type -

System.out.println(((Object)x).getClass().getName());

Comments

Submit
0 Comments